package coms.ejb;

import coms.dataaccess.dao.KeywordDAO;
import coms.dataaccess.hibernate.HibernateDAOFactory;
import coms.dto.Keyword;
import javax.annotation.PostConstruct;
import javax.ejb.Stateless;


@Stateless (mappedName="KeywordBean")
public class KeywordBean extends GenericBean<Keyword> implements KeywordBeanRemote{
    
  private KeywordDAO keywordDAO;
    
    @PostConstruct
    public void construct(){
        super.construct();
        HibernateDAOFactory factory = new HibernateDAOFactory();
        keywordDAO = factory.getKeywordDAO();
    }
    
    
}
